package cn.wolfcode.shop.cloud;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Getter
@Setter

@ConfigurationProperties("redis")
public class RedisProperties {
    private String host = "localhost";
    private int port = 6379;
    private int timeout= 10;
    private String password;
    private int poolMaxTotal = 500;
    private int poolMaxIdle = 500;
    private int poolMaxWait = 500;

}
